angular.module('app.ser.member', []).factory('MemberService', ['$http', function($http) {
    var _svc = {};

    //增加
    _svc.add = function(data) {
        return __svc_post($http, dbPathURL + 'member.json', data);
    };

    _svc.delete = function(data) {
    	return __svc_delete($http, dbPathURL + 'member.json', data);
    };

    //查找
    _svc.list = function(data) {
        return __svc_get($http, dbPathURL + 'member.json', data);
    };

    return _svc;
}]);